package com.yellowpage.bigdata.data;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * O2oRetentionDay entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="O2O_RETENTION_DAY"
    ,catalog="omc"
)

public class O2oRetentionDay  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String dayId;
     private String o2oId;
     private String channelNo;
     private String retentionDay;
     private String counts;
     private String createTime;


    // Constructors

    /** default constructor */
    public O2oRetentionDay() {
    }

	/** minimal constructor */
    public O2oRetentionDay(String dayId, String o2oId) {
        this.dayId = dayId;
        this.o2oId = o2oId;
    }
    
    /** full constructor */
    public O2oRetentionDay(String dayId, String o2oId, String channelNo, String retentionDay, String counts, String createTime) {
        this.dayId = dayId;
        this.o2oId = o2oId;
        this.channelNo = channelNo;
        this.retentionDay = retentionDay;
        this.counts = counts;
        this.createTime = createTime;
    }

   
    // Property accessors
    @Id @GeneratedValue(strategy=IDENTITY)
    
    @Column(name="ID", unique=true, nullable=false)

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }
    
    @Column(name="DAY_ID", nullable=false, length=64)

    public String getDayId() {
        return this.dayId;
    }
    
    public void setDayId(String dayId) {
        this.dayId = dayId;
    }
    
    @Column(name="O2O_ID", nullable=false, length=128)

    public String getO2oId() {
        return this.o2oId;
    }
    
    public void setO2oId(String o2oId) {
        this.o2oId = o2oId;
    }
    
    @Column(name="CHANNEL_NO", length=128)

    public String getChannelNo() {
        return this.channelNo;
    }
    
    public void setChannelNo(String channelNo) {
        this.channelNo = channelNo;
    }
    
    @Column(name="RETENTION_DAY", length=10)

    public String getRetentionDay() {
        return this.retentionDay;
    }
    
    public void setRetentionDay(String retentionDay) {
        this.retentionDay = retentionDay;
    }
    
    @Column(name="COUNTS", length=10)

    public String getCounts() {
        return this.counts;
    }
    
    public void setCounts(String counts) {
        this.counts = counts;
    }
    
    @Column(name="CREATE_TIME", length=30)

    public String getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
   








}